
<?= HTML::style('static/nicevalidator/jquery.validator.css')?>

<h3 class="page-header">修改密码</h3>

<form action="<?= URL::curr()?>" method="post" autocomplete="off" class="col-sm-6 col-md-4">
	<div class="form-group">
		<input class="form-control" type="password" placeholder="原密码" name="old_password" data-rule="原密码: required;" required>
	    <span class="help-block msg-box" for="old_password"></span>
	</div>
	<div class="form-group">
		<input class="form-control" type="password" placeholder="新密码" name="new_password" data-rule="新密码: required; length(6~16)" required>
	    <span class="help-block msg-box" for="new_password"></span>
	</div>
	<div class="form-group">
		<button type="submit" class="btn btn-info">提交</button>
	</div>
</form>

<?= HTML::script('static/nicevalidator/jquery.validator.min.js?local=zh-CN')?>